package com.ruoyi.mq.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
public class QueueConfig {
    public static String DESTINATION;

    @Value("${fanout.deployQueue}")
    public void setDestination(String destination) {
        DESTINATION = destination;
    }
}
